111
parent
ec99a1ec2f
commit
7d38163c83
|
@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import com.zzjee.wmutil.dsc.dscUtil;
|
import com.zzjee.wmutil.dsc.dscUtil;
|
||||||
import com.zzjee.wmutil.wmIntUtil;
|
import com.zzjee.wmutil.wmIntUtil;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.ModelMap;
|
import org.springframework.ui.ModelMap;
|
||||||
|
@ -208,29 +208,16 @@ public class MdCusOtherController extends BaseController {
|
||||||
String message = null;
|
String message = null;
|
||||||
AjaxJson j = new AjaxJson();
|
AjaxJson j = new AjaxJson();
|
||||||
message = "读取成功";
|
message = "读取成功";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ("UAS".equals(ResourceUtil.getConfigByName("interfacetype"))){
|
if ("UAS".equals(ResourceUtil.getConfigByName("interfacetype"))){
|
||||||
if(StringUtil.isEmpty(formDate)){
|
if(StringUtil.isEmpty(formDate)){
|
||||||
formDate = "2011-01-01";
|
formDate = "2011-01-01";
|
||||||
}
|
}
|
||||||
wmIntUtil.getCus(formDate);
|
wmIntUtil.getCus(formDate);
|
||||||
|
|
||||||
}
|
}
|
||||||
if ("DSC".equals(ResourceUtil.getConfigByName("interfacetype"))){
|
if ("DSC".equals(ResourceUtil.getConfigByName("interfacetype"))){
|
||||||
|
|
||||||
dscUtil.updateCusFromDsc();
|
dscUtil.updateCusFromDsc();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemService.addLog(message, Globals.Log_Type_UPDATE,
|
systemService.addLog(message, Globals.Log_Type_UPDATE,
|
||||||
Globals.Log_Leavel_INFO);
|
Globals.Log_Leavel_INFO);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue