opt:1.优化单据回传查询;2.优化用料单实时查询,实时更新;

3.优化失败单据回传字段序列化顺序混乱;
4.手动同步数量限制,模糊搜索;
5.异常单据处理,标记完成;
This commit is contained in:
2025-03-06 20:04:32 +08:00
parent 70bb1aae8f
commit efe2e80743
5 changed files with 21 additions and 19 deletions

View File

@@ -153,8 +153,8 @@ public class ErpServiceUtils {
//执行回传
try {
String json = from.toJSONString();
result = getCloudApi().audit(from.getString("formid"), json);
from.put("result", result);
// result = getCloudApi().audit(from.getString("formid"), json);
// from.put("result", result);
} catch (Exception ex) {
Log.error(ex.getMessage());
from.put("result", ex.getMessage());

View File

@@ -126,7 +126,7 @@ public class BmFormStrucController {
@GetMapping("/getParentFormTypes/{desc}")
public ResponseEntity<Object> getParentFormTypes(@PathVariable String desc){
//参数判读,参数解析,调用参数入库
QueryWrapper<BmFormStruc> queryWrapper = new QueryWrapper<BmFormStruc>().select("form_type", "form_name").isNull("parent_id").groupBy("form_type");
QueryWrapper<BmFormStruc> queryWrapper = new QueryWrapper<BmFormStruc>().select("form_type", "form_name").isNull("parent_id").groupBy("form_type").orderByAsc("sort");
if (StringUtils.isNotEmpty(desc)){
queryWrapper.like("form_desc",desc);
}

View File

@@ -154,5 +154,8 @@ public class BmFormStruc implements Serializable {
*/
private String bar_code;
/**
* 条码
*/
private String sort;
}