Commit cf66d397 by pengbao666

cips模板修改-修改bug

parent 185350ce
......@@ -51,14 +51,14 @@ export default{
},
saveTemplate(data){
return new link({
url:`/swift/saveTemplate`,
url:`/cips/saveTemplate`,
method:"post",
data:data
})
},
getTemplate(data){
return new link({
url:`/swift/getTemplate`,
url:`/cips/getTemplate`,
method:"post",
data:data
})
......
......@@ -293,6 +293,11 @@ public class CipsEditorController {
map.put("nam", swiftVo.getName());
map.put("desp", swiftVo.getText());
map.put("mty", swiftVo.getMty());
if("cips.111.001.02".equals(swiftVo.getMty())){
map.put("mty", "111");
}else if ("cips.112.001.02".equals(swiftVo.getMty())){
map.put("mty", "112");
}
map.put("sf2temp", swiftVo.getJson());
Map rs = (Map) CommonSend.send(map);
logger.info("savmxm结果:"+rs.toString());
......
......@@ -325,10 +325,11 @@ public class MxEditorController {
map.put("user", swiftVo.getLoginUser());
map.put("nam", swiftVo.getName());
map.put("desp", swiftVo.getText());
if ("rtgs".equals(type)) {
map.put("mty", "RTGS." + swiftVo.getMty());
} else {
map.put("mty", "CBPR." + swiftVo.getMty());
map.put("mty", swiftVo.getMty());
if("cips.111.001.02".equals(swiftVo.getMty())){
map.put("mty", "111");
}else if ("cips.112.001.02".equals(swiftVo.getMty())){
map.put("mty", "112");
}
map.put("sf2temp", swiftVo.getJson());
Map rs = (Map) CommonSend.send(map);
......
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