fs-danaus
2022-06-08 14d0105a34cf8d6c3685e8a385631f1a985f86e8
优化代码
3个文件已修改
8 ■■■■■ 已修改文件
WebRoot/demo/update1.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/open/deli/controller/DeliController.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/open/deli/service/DeLiImpl.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/demo/update1.jsp
@@ -230,7 +230,7 @@
    <div class="layui-input-block">
      <select name="DockingSystem" lay-filter="aihao">
        <option value="" selected>&nbsp;</option>
        <option value="deli">德力</option>
        <option value="deli">德立</option>
      </select>
    </div>
 </div> 
src/com/yc/open/deli/controller/DeliController.java
@@ -17,6 +17,7 @@
import com.yc.service.build.type.T_22_Ifc;
import com.yc.service.panel.SqlDBHelperIfc;
import com.yc.utils.SessionKey;
import org.apache.commons.lang3.RandomStringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -517,7 +518,7 @@
        Map map=GridUtils.fromJson(data);
        docCode=map.get("docCode")==null?"":map.get("docCode")+"";
    }
    list.add(new T110562Entity(formid,docCode,0,"B4V2C","","","","",0,0,0,"","","推送取消确认",1,1,url+query+"【"+data+"】"));
    list.add(new T110562Entity(formid,docCode,0, RandomStringUtils.randomAlphanumeric(6),"","","","",0,0,0,"","","推送取消确认",1,1,url+query+"【"+data+"】"));
    try {
        postDataBaseService.doLogBy110562(list);
src/com/yc/open/deli/service/DeLiImpl.java
@@ -5,6 +5,7 @@
import com.yc.factory.FactoryBean;
import com.yc.open.deli.entity.*;
import com.yc.service.BaseService;
import org.apache.commons.lang3.RandomStringUtils;
import org.springframework.dao.DataAccessException;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.stereotype.Service;
@@ -120,7 +121,7 @@
        PostDataBaseService postDataBaseService= (PostDataBaseService) FactoryBean.getBean("postDataBaseService");
        List<T110562Entity> list=new ArrayList<>();
        //一个功能号只生成一条运行时出错日志
         list.add(new T110562Entity(formid,"",0,"xE45N","","","","",0,0,0,"","","sql出错",0,0,ex.getMessage().replaceAll("'","''")));
         list.add(new T110562Entity(formid,"",0, RandomStringUtils.randomAlphanumeric(6),"","","","",0,0,0,"","","sql出错",0,0,ex.getMessage().replaceAll("'","''")));
        try {
            postDataBaseService.doLogBy110562(list);