Commit 49148be8 authored by dahai's avatar dahai

push

parent 860f3ff7
......@@ -68,7 +68,7 @@ public class DeliveredApi {
try {
//将当前上下文初始化给 CommonsMutipartResolver (多部分解析器)
CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver(
requ.getSession().getServletContext());
requ.getServletContext());
// 判断是否是多数据段提交格式
if (multipartResolver.isMultipart(requ)) {
MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) requ;
......
......@@ -60,7 +60,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " +
"</if>" +
"<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " +
" and card_Code =#{typeCode} " +
"</if>" +
"</script>")
public List<CardBodyEntity> selectCardBody(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name);
......@@ -71,7 +71,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " +
"</if>" +
"<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " +
" and card_Code =#{typeCode} " +
"</if>" +
"</script>")
public String selectCardCount1(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name);
......@@ -82,7 +82,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " +
"</if>" +
"<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " +
" and card_Code =#{typeCode} " +
"</if>" +
"</script>")
public String selectCardCount2(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment