生产任务
This commit is contained in:
@@ -123,7 +123,7 @@ public class AutoCodeUtil {
|
||||
rs.setLastInputChar(inputChar);
|
||||
iAutoCodeResultService.saveAutoCodeResult(rs);
|
||||
}else{
|
||||
//直接更新对应的记录(我们默认一个RULE_CODE只有一种方式)
|
||||
//直接更新对应的记录(我们默认非流水号模式下一个RULE_CODE只有一种方式)
|
||||
SysAutoCodeResult bo = new SysAutoCodeResult();
|
||||
bo.setRuleId(rule.getRuleId());
|
||||
List<SysAutoCodeResult> results = iAutoCodeResultService.list(bo);
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<if test="genDate != null and genDate != ''">
|
||||
AND gen_date like concat(#{genDate},'%')
|
||||
</if>
|
||||
order by gen_index asc
|
||||
order by gen_date desc
|
||||
</select>
|
||||
|
||||
<insert id="add" parameterType="SysAutoCodeResult" >
|
||||
|
||||
Reference in New Issue
Block a user