Commit 49148be8 authored by dahai's avatar dahai

push

parent 860f3ff7
...@@ -68,7 +68,7 @@ public class DeliveredApi { ...@@ -68,7 +68,7 @@ public class DeliveredApi {
try { try {
//将当前上下文初始化给 CommonsMutipartResolver (多部分解析器) //将当前上下文初始化给 CommonsMutipartResolver (多部分解析器)
CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver( CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver(
requ.getSession().getServletContext()); requ.getServletContext());
// 判断是否是多数据段提交格式 // 判断是否是多数据段提交格式
if (multipartResolver.isMultipart(requ)) { if (multipartResolver.isMultipart(requ)) {
MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) requ; MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) requ;
......
...@@ -60,7 +60,7 @@ public interface MaterialManagementMapper { ...@@ -60,7 +60,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " + " and name =#{name} " +
"</if>" + "</if>" +
"<if test='typeCode != 0 '>" + "<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " + " and card_Code =#{typeCode} " +
"</if>" + "</if>" +
"</script>") "</script>")
public List<CardBodyEntity> selectCardBody(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name); 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 { ...@@ -71,7 +71,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " + " and name =#{name} " +
"</if>" + "</if>" +
"<if test='typeCode != 0 '>" + "<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " + " and card_Code =#{typeCode} " +
"</if>" + "</if>" +
"</script>") "</script>")
public String selectCardCount1(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name); 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 { ...@@ -82,7 +82,7 @@ public interface MaterialManagementMapper {
" and name =#{name} " + " and name =#{name} " +
"</if>" + "</if>" +
"<if test='typeCode != 0 '>" + "<if test='typeCode != 0 '>" +
" and typeCode =#{typeCode} " + " and card_Code =#{typeCode} " +
"</if>" + "</if>" +
"</script>") "</script>")
public String selectCardCount2(@Param("beginDate")String beginDate,@Param("endDate")String endDate,@Param("typeCode")String typeCode,@Param("name")String name); 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